projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8203a29
)
xend: Stub out vscsi_get_scsidevices() until issues are addressed.
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 20 Oct 2008 14:05:48 +0000
(15:05 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 20 Oct 2008 14:05:48 +0000
(15:05 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/util/vscsi_util.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/util/vscsi_util.py
b/tools/python/xen/util/vscsi_util.py
index 42137bc6c8ff084e22ad50945f3cc1a6f6aef211..443ef95c5895c1b9a3bd47a8918fe93cb2dbf52d 100644
(file)
--- a/
tools/python/xen/util/vscsi_util.py
+++ b/
tools/python/xen/util/vscsi_util.py
@@
-93,6
+93,10
@@
def _vscsi_block_scsiid_to_hctl(phyname, scsi_devices):
def vscsi_get_scsidevices():
""" get all scsi devices"""
+ # KAF: Stubbed out for now due to bogus use of os.chdir() and because
+ # the devices.append() line can fail due to sg and scsi_id not defined.
+ return []
+
devices = []
sysfs_mnt = utils.find_sysfs_mount()